package inabit.inabitcompiler.productions.variable.types;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;
import inabit.inabitcompiler.parser.InabitSemanticAction;

/**G' -> &*/
/**@author Rafael Rocha*/
public class G1_Rule2 extends Production{

	public G1_Rule2() {
		super("G'");
	}
	
	public Symbol[] production(final NonTerminal nonTerminal) {
		Symbol[] symbols = {
				new InabitSemanticAction(nonTerminal) {
					
					@Override
					public void execute() throws Exception {
						nonTerminal.code = "";
					}
				}
		};
		return symbols;
	}
}
